Add docs updates for Plotly.py v6.3#5269
Merged
camdecoster merged 21 commits intomainfrom Aug 12, 2025
Merged
Conversation
|
This pull request updates the documentation for Plotly's Python library to include new features introduced in version 6.3, along with some minor metadata updates. The key changes introduce examples for controlling zero line layers, limiting legend height, and using custom SVG patterns in bar charts. New Features in Documentation:Axes:
Legends:
Patterns:
Metadata Updates: |
emilykl
reviewed
Aug 6, 2025
emilykl
reviewed
Aug 6, 2025
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
emilykl
reviewed
Aug 6, 2025
emilykl
reviewed
Aug 6, 2025
emilykl
reviewed
Aug 6, 2025
emilykl
reviewed
Aug 6, 2025
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
emilykl
reviewed
Aug 6, 2025
doc/python/map-configuration.md
Outdated
| In addition to physical base map features, a "cultural" base map is included which is composed of country borders and selected sub-country borders such as states. | ||
|
|
||
| **Note and disclaimer:** cultural features are by definition subject to change, debate and dispute. Plotly includes data from Natural Earth "as-is" and defers to the [Natural Earth policy regarding disputed borders](https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/) which read: | ||
| In **Plotly.py 6.3 and later**, this base map is created from [UN data](https://geoportal.un.org/arcgis/sharing/rest/content/items/d7caaff3ef4b4f7c82689b7c4694ad92/data). |
Contributor
There was a problem hiding this comment.
the sub-country borders are still drawn from Natural Earth, correct?
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
emilykl
approved these changes
Aug 6, 2025
…plotly.py into docs-update-next-release
camdecoster
requested changes
Aug 6, 2025
Contributor
camdecoster
left a comment
There was a problem hiding this comment.
I think I may have given you the wrong layer breakdown before. The comments I added show the correct lists.
Co-authored-by: Cameron DeCoster <cameron.decoster@gmail.com>
Co-authored-by: Cameron DeCoster <cameron.decoster@gmail.com>
camdecoster
approved these changes
Aug 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds examples for next Plotly.js version 3.1.0.
Merge after main branch has been updated to use Plotly.js 3.1.0
Documentation PR
doc/README.mdfile.doc-prodbranch OR it targets themainbranch.pxexample if at all possible.plotly.graph_objects as go,plotly.express as px, and/orplotly.io as pio.df.fig = <something>is called high up in each new/modified example (eitherpx.<something>ormake_subplotsorgo.Figure).fig.add_*andfig.update_*rather thango.Figure(data=..., layout=...).fig.add_shapeandfig.update_xaxesare used instead of bigfig.update_layoutcalls.fig.show()is at the end of each example.plotly.plot()andplotly.iplot()are not used in any example.```python.